<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>React in Browser</title>
</head>
<body>
<script src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>

<div id="greeting"></div>

<script type="text/babel">

  const Greeting = ({ greeting }) => (<h1>{greeting.text}</h1>);

  ReactDOM.render(
    <React.StrictMode>
      <Greeting greeting={{ text: 'Welcome to React' }} />
    </React.StrictMode>,
    document.getElementById('greeting')
  );

</script>
</body>
</html>
